﻿package mortal.game.view.mainUI.smallMap.view.data
{

    public class SmallMapWorldRegionData extends Object
    {
        public var x:int;
        public var y:int;
        public var namex:int;
        public var namey:int;
        public var url:String;
        public var mapId:int;
        public var enterLevel:int = 1;
        public var name:String = "";
        public var opened:Boolean = true;
        public var bgUrl:String = "";

        public function SmallMapWorldRegionData(param1:int, param2:String, param3:int, param4:int, param5:int, param6:int, param7:String = "", param8:Boolean = true, param9:int = 0, param10:String = "")
        {
            this.mapId = param1;
            this.url = param2;
            this.x = param3;
            this.y = param4;
            this.name = param7;
            this.opened = param8;
            this.enterLevel = param9;
            this.bgUrl = param10;
            this.namex = param5;
            this.namey = param6;
            return;
        }// end function

        public function get isRegion() : Boolean
        {
            return this.mapId <= 0;
        }// end function

    }
}
